/**
 * 
 */
package com.slink.xin.common.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.slink.xin.common.dao.impl.StudentDao;
import com.slink.xin.common.domain.po.Student;
import com.slink.xin.common.service.StudentService;

/** 
 * @ClassName: StudentServiceImpl 
 * @Description: TODO
 * @author 新
 * @date 2015年10月22日 上午10:38:08 
 *  
 */
@Service
public class StudentServiceImpl implements StudentService {

	@Autowired
	private StudentDao studentDao;
	
	@Override
	public Student getById(int id) {
		return this.studentDao.getById(id);
	}

	@Override
	public void update(Student student) {
		this.studentDao.update(student);
		
	}

	@Override
	public void add(Student student) {
		this.studentDao.add(student);
		
	}

	@Override
	public void deleteById(int id) {
		this.studentDao.deleteById(id);
		
	}

}
